package session.stateless;

import entity.SaleLead;
import entity.SaleLead.CustomerType;
import java.util.List;
import javax.ejb.Local;

@Local
public interface SaleLeadBeanLocal {
    
    //Method B.1.1.1
    public long createSaleLead(String name, String NRIC, String email, String address, String contactNumber, CustomerType customerType);
    
    //Method B.1.1.2
    public void updateSaleLead(long saleLeadId, java.lang.String saleLeadName, java.lang.String saleLeadNRIC, java.lang.String saleLeadEmail, java.lang.String saleLeadAddress, java.lang.String saleLeadContactNumber, entity.SaleLead.CustomerType customerType);

    //Method B.1.1.3
    public void deleteSaleLead(long saleLeadId);
    //Method B.1.1.4
    public List<SaleLead> getSalesLead();
    
    public void remove();
    
    public SaleLead find(long saleLeadId);

    
}
